-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tensorflow
: add tf.distribute.experimental.coordinator.RemoteValue
#11349
tensorflow
: add tf.distribute.experimental.coordinator.RemoteValue
#11349
Conversation
This comment has been minimized.
This comment has been minimized.
tensorflow
: add tf.distribute.experimental.coordinator.RemoteValue
3bed77d
to
b6ae7c9
Compare
This comment has been minimized.
This comment has been minimized.
b07ed76
to
e51face
Compare
@hmc-cs-mdrissi This PR is getting the following import error, but I don't understand why:
Probably unrelated, but in a previous PR I had to make this commit to change an import in order for CI to pass. I understand that TensorFlow's imports are a bit cursed, but I was a bit surprised to have to do that in the stubs. |
0a7fece
to
e51face
Compare
This comment has been minimized.
This comment has been minimized.
from tensorflow.distribute.experimental.coordinator import RemoveValue vs import tensorflow as tf
tf.distribute.experimental.coordinator.RemoteValue one works, other crashes. I don't know any way to describe this behavior in stubs. It's undocumented behavior and side effect of weird import magic tensorflow does. Maybe future version/issue will fix this and make both ways work. I recommend stubtest allowlist with a comment of |
This comment has been minimized.
This comment has been minimized.
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
This class is only available in
tensorflow>=2.15
(cf documentation).